<?php

try {
	if(file_exists("./router/router.php")){
		require_once './router/router.php';
	}
	else {
		throw new Exception("Nie znaleziono pliku!");
	}
}
catch(Exception $e){
	return $e->getMessage();
}
class ApplicationRouterControllerDataTest extends PHPUnit_Framework_TestCase {
	
	protected $router;
	protected $request_string;
	protected function setUp(){
		$this->router = new Application_Router();
		$this->request_string = "name=supertest";
		$values = array();
		$values = $this->router->parsed_argument($parsed_string);
	}
	
	public function parsed_argument_test(){
		$expected = "supertest";
		$this->assertEquals($expected, $this->router->parsed_arguments($parsed_string));
	}
	
	
}